<template>
  <div class="block">
    <el-carousel trigger="click" height="600px">
      <el-carousel-item v-for="item in img" :key="item">
        <el-image  :src="item" fit='fill' ></el-image>
      </el-carousel-item>
    </el-carousel>
  </div>
</template>

<script>
export default {
    name:'mall',
    data(){
      return{
        img:['https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fc-ssl.duitang.com%2Fuploads%2Fitem%2F202002%2F22%2F20200222220841_uxboj.jpg&refer=http%3A%2F%2Fc-ssl.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1663246436&t=c8e345d1e60e016d2d63909b9fbc6cab',
       'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fup.enterdesk.com%2Fedpic%2F42%2F8c%2F25%2F428c2512b5e169185831cf770ac69f4c.jpg&refer=http%3A%2F%2Fup.enterdesk.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1663246556&t=073119324508a9da99501f9a71dfbaf5',
        'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fup.enterdesk.com%2Fedpic%2F20%2F40%2F94%2F20409468f9a829fb50e32abd6b6d4381.jpg&refer=http%3A%2F%2Fup.enterdesk.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1663246669&t=a1f7983be833089b24be1b22f996193e',
        'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fup.enterdesk.com%2Fedpic%2F11%2F86%2F23%2F11862349e09e8ee67651b5d32fdb386d.jpg&refer=http%3A%2F%2Fup.enterdesk.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1663246764&t=e6ac243555224b61938c478cf6fb42dd'
        
        
        
        ]
      }
    }
}
</script>

<style scoped>
.el-carousel__item h3 {
    color: #475669;
    font-size: 14px;
    opacity: 0.75;
    line-height: 150px;
    margin: 0;
  }


</style>>
